import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import show from '@/components/show'

Vue.use(Router);

var routes = [
        {
          path:'/',
          name:'HelloWorld',
          component:HelloWorld
        },

      {
          path:'/show',
          name:'show',
          component:show
        }

];
export default new Router({
  routes:routes,
  mode:'history'   /*hash*/
})
